import request from '@/router/axios';
import qs from 'qs';

// 数据列表-盘点库存
export const getList = (data) => request({
    url: '/consumables/realTimeDangerousGoods/v1/pageQuery',
    method: 'post',
    data: qs.stringify(data),
})
// 获取-对所有物品批量设置
export const setList = (data) => request({
    url: '/consumables/realTimeDangerousGoods/v1/setWarning',
    method: 'post',
    data: qs.stringify(data),
})
// 添加-对所有物品批量设置
export const updList = (data) => request({
    url: '/consumables/realTimeDangerousGoods/v1/updateWarning',
    method: 'post',
    data: qs.stringify(data),
})
// 根据主键查询
export const findById = (data) => request({
    url: '/consumables/realTimeDangerousGoods/v1/findById',
    method: 'post',
    data: qs.stringify(data),
})
